package com.aggregate.pay.sanstar.bean;

import java.util.Date;

import com.aggregate.pay.sanstar.jackson.StringDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

/**
 * 职员信息
 * @author Moyq5
 * @date 2023年6月14日
 */
public class Staffer {

    /**
     * 职员编号
     */
    private String stafferNo;
    /**
     * 职员姓名
     */
    private String name;
    /**
     * 职员所在部门名称
     */
    private String unit;
    /**
     * 职员工号
     */
    private String num;
    /**
     * 状态
     */
    private Integer state;
    /**
     * 状态描述
     */
    private String descr;
    /**
     * 头像图片
     */
    private String logo;
    /**
     * 人脸图片
     */
    private String pictrue;
    /**
     * 人脸特征
     */
    private String feature;
    /**
     * 配置组号，对应的配置优先于专属setting的配置
     */
    private String groupNo;
    /**
     * 专属配置，JSON结构
     */
    @JsonDeserialize(using = StringDeserializer.class)
    private String setting;
    
    private Date updateTime;
    
    public String getStafferNo() {
        return stafferNo;
    }
    public void setStafferNo(String stafferNo) {
        this.stafferNo = stafferNo;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getUnit() {
        return unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }
    public String getNum() {
        return num;
    }
    public void setNum(String num) {
        this.num = num;
    }
    public String getFeature() {
        return feature;
    }
    public void setFeature(String feature) {
        this.feature = feature;
    }
    public String getGroupNo() {
        return groupNo;
    }
    public void setGroupNo(String groupNo) {
        this.groupNo = groupNo;
    }
    public String getSetting() {
        return setting;
    }
    public void setSetting(String setting) {
        this.setting = setting;
    }
    public Integer getState() {
        return state;
    }
    public void setState(Integer state) {
        this.state = state;
    }
    public String getDescr() {
        return descr;
    }
    public void setDescr(String descr) {
        this.descr = descr;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getLogo() {
        return logo;
    }
    public void setLogo(String logo) {
        this.logo = logo;
    }
    public String getPictrue() {
        return pictrue;
    }
    public void setPictrue(String pictrue) {
        this.pictrue = pictrue;
    }
}
